package org.springblade.modules.platform.vo;


import org.springblade.modules.platform.vo.enums.NoticeTableStartEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
public class NoticeTableListByPageVO {


    @ApiModelProperty(value = "原始数据列表")
    private List<NoticeTableVO> list;

    @ApiModelProperty(value = "个数")
    private Long total;

    @NoArgsConstructor
    @Data
    public static class NoticeTableVO {

        private Integer id;

        /**
         * 设备名称
         */
        @ApiModelProperty(value = "设备名称")
        private String equipmentName;

        /**
         * 设备编号
         */
        @ApiModelProperty(value = "设备编号")
        private String equipmentId;

        /**
         * 采集时间
         */
        @ApiModelProperty(value = "采集时间")
        private Long gatherTime;

        /**
         * 1:处理;2:未处理
         */
        @ApiModelProperty(value = "1:处理;2:未处理")
        private NoticeTableStartEnum noticeTableStartEnum;

        /**
         * 告警内容
         */
        @ApiModelProperty(value = "告警内容")
        private String alarmContent;

        /**
         * 处理原因
         */
        @ApiModelProperty(value = "处理原因")
        private String reason;

    }
}
